package com.example.kt_fast.di

import com.example.kt_common.network.RetrofitManager
import com.example.kt_fast.api.FastApi
import com.example.kt_fast.repo.FastRepo
import com.example.kt_fast.viewmodel.FastViewModel
import org.koin.androidx.viewmodel.dsl.viewModel
import org.koin.dsl.module

/**
 * Created by 小陈 on 2025/3/25.
 * Time: 20:54.
 */
/**
 * Created by 小陈 on 2025/3/23.
 * Time: 16:50.
 */
val fastModule = module {
    single { RetrofitManager.getService(FastApi::class.java) }
    single { FastRepo(get()) }
    viewModel { FastViewModel(get()) }
}